package com.cnbot.dchttpsdk.helper;

/**
 * Copyright (c) 2016-a  Hunan Cnbot Co., Ltd. All Rights Reserved.
 *
 * @descriptoin 下载文件进度条监听
 * @FileName: DownFileProgressListener.java
 * @author: dc
 * @date: 2019/1/19 14:10
 * @version: 1.0
 */

public interface DownFileProgressListener {

    /**
     * 	监听进度条
     * @author	dc
     * @param progress 已下载字节
     *                 @param total 总字节数
     *                              @param isDone 是否下载完毕
     * @date 2017/8/30 9:28
     * @return
     */
    void onProgress(long progress, long total, boolean isDone);
}
